package com.aynu.admin.service.base;

import com.aynu.admin.domain.CommonResponse;
import com.aynu.admin.domain.po.TAdmin;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 管理员表 服务类
 * </p>
 *
 * @author author
 * @since 2025-02-26
 */
public interface ITAdminService extends IService<TAdmin> {
    CommonResponse<String> login(String username, String password);
    CommonResponse<Object> register(TAdmin admin);
    CommonResponse<Object> modifyPassword(String username,String newPassword);
    CommonResponse<Object> deleteByUsername(String username,String deleteUsername);
}
